import Vue from 'vue'
import Vuex from 'vuex'
import stateDate from './state/index';
import * as actions from './actions'
import * as getters from './getters'
import * as mutations from './mutations'
console.log(stateDate, 'stateDatestateDate')
Vue.use(Vuex)
const debug = process.env.NODE_ENV !== 'production'
const state = {
  ...stateDate,
}

export default new Vuex.Store({
  strict: debug,
  state,
  actions,
  getters,
  mutations
})

